package com.blog.pojo;

/*******************************************************************************
 * BBS分类树
 * 
 * @author ZhangBo
 * 
 ******************************************************************************/
public class BBSType {
	
	private int id;// int
	private String name;// varchar
	private String tNo;// varchar
	private String pNo;// varchar
	private int enabled;// int
	private int parent;// int
	private int open;// int

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the tNo
	 */
	public String getTNo() {
		return tNo;
	}

	/**
	 * @param no
	 *            the tNo to set
	 */
	public void setTNo(String no) {
		tNo = no;
	}

	/**
	 * @return the pNo
	 */
	public String getPNo() {
		return pNo;
	}

	/**
	 * @param no
	 *            the pNo to set
	 */
	public void setPNo(String no) {
		pNo = no;
	}

	/**
	 * @return the enabled
	 */
	public int getEnabled() {
		return enabled;
	}

	/**
	 * @param enabled
	 *            the enabled to set
	 */
	public void setEnabled(int enabled) {
		this.enabled = enabled;
	}

	/**
	 * @return the parent
	 */
	public int getParent() {
		return parent;
	}

	/**
	 * @param parent
	 *            the parent to set
	 */
	public void setParent(int parent) {
		this.parent = parent;
	}

	/**
	 * @return the open
	 */
	public int getOpen() {
		return open;
	}

	/**
	 * @param open
	 *            the open to set
	 */
	public void setOpen(int open) {
		this.open = open;
	}
}
